package com.roc.common;

import java.util.ArrayList;
import java.util.List;

import com.roc.pojo.TPosAgent;
import com.roc.pojo.YjPosAgent;

public class XxlsYjPosAgent  extends XxlsAbstract{
    private List<YjPosAgent> pos = new ArrayList<YjPosAgent>();
	@Override
	public void optRows(int sheetIndex, int curRow, List<String> rowlist) {
		
		if (curRow == 0) {
			return;
		}
		YjPosAgent y = new YjPosAgent();
		if(rowlist.size()>0){
			y.setSerialNum(rowlist.get(0));
		}		
		pos.add(y);
	}
	public List<YjPosAgent> getTrans() {
		return pos;
	}
}
